<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>显示模式</title>
    <style>
      /* span {
        display: block;
      } */
      /* .demo {
        width: 100px;
        height: 100px;
        border: solid;
        display: inline-block;
      } */
      /* div {
        height: 400px;
        width: 400px;
        background-color: red;
      } */
      div {
        background-color: red;
      }
      img {
        height: 300px;
        width: 300px;
        display: block;
      }
    </style>
  </head>
  <body>
    <!-- <div class="demo">呵呵</div>
    <span class="demo">1</span>
    <span class="demo">2</span> -->
    <div>
      <img src="../QQ图片20220212103656.jpg" alt="" />
    </div>
  </body>
</html>
